public void saveCDRGPreAuditUnQualityDetail(String condition) throws Exception {
        if (!XmlUtil.isXml(condition)) {
            throw new EmrException(ControllerResult.STATUS_EXCEPTION, "保存预审核不合格记录入参错误！");
        }

        Document doc = XmlUtil.getDocumentFromStr(condition, "utf-8");
        Element root = doc.getRootElement();
        List<Element> items = root.elements();
        for (Element item : items) {
            String auditQuestion = XmlUtil.getElementText(item);
            String patientId = XmlUtil.getAttribute(item, "patient_id");
            String eventNo = XmlUtil.getAttribute(item, "event_no");
            String time = XmlUtil.getAttribute(item, "time");
            String auditStatus = XmlUtil.getAttribute(item, "audit_status");
            String auditer = XmlUtil.getAttribute(item, "auditer");
            String auditerId = XmlUtil.getAttribute(item, "auditer_id");
        }
}


public void getCdrgAuditUnqualityDetail(String condition) throws Exception {
        if (!XmlUtil.isXml(condition)) {
            throw new EmrException(ControllerResult.STATUS_EXCEPTION, "获取CDRG审核失败信息：传入的条件为非法xml格式!");
        }

        Document doc = XmlUtil.getDocumentFromStr(condition, "utf-8");
        Element root = doc.getRootElement();

        String patientId = XmlUtil.getElementText(root.element("patient_id"));
        String eventNo = XmlUtil.getElementText(root.element("event_no"));

        if (ValidUtil.isEmpty(patientId) || ValidUtil.isEmpty(eventNo)) {
            throw new EmrException(ControllerResult.STATUS_EXCEPTION, "获取CDRG审核失败信息：病人id或住院号不能为空!");
        }
}
